namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 记录 -出库单-明细
    /// </summary>
    public DbSet<POWmsOutOrderDetail> WmsOutOrderDetails { get; set; }
}

/// <summary>
/// 记录 -出库单-明细
/// 表[wms_out_order_detail]
/// </summary>
[Table("wms_out_order_detail")]
public class POWmsOutOrderDetail
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wms_out_order_detail.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 主表Id
    /// [wms_out_order_detail.master_id)]
    /// </summary>
    [Column("master_id")]
    public long? MasterId { get; set; }
    /// <summary>
    /// 从表Id
    /// [wms_out_order_detail.summary_id)]
    /// </summary>
    [Column("summary_id")]
    public long? SummaryId { get; set; }
    /// <summary>
    /// 任务Id
    /// [wms_out_order_detail.task_id)]
    /// </summary>
    [Column("task_id")]
    public long? TaskId { get; set; }
    /// <summary>
    /// 任务编号
    /// [wms_out_order_detail.task_no)]
    /// </summary>
    [Column("task_no")]
    public int? TaskNo { get; set; }
    /// <summary>
    /// 任务创建时间
    /// [wms_out_order_detail.task_time)]
    /// </summary>
    [Column("task_time")]
    public DateTime? TaskTime { get; set; }
    /// <summary>
    /// 起始货位
    /// [wms_out_order_detail.start_loc)]
    /// </summary>
    [Column("start_loc")]
    public long? StartLoc { get; set; }
    /// <summary>
    /// 层号
    /// [wms_out_order_detail.start_loc_index)]
    /// </summary>
    [Column("start_loc_index")]
    public int? StartLocIndex { get; set; }
    /// <summary>
    /// 目标货位
    /// [wms_out_order_detail.target_loc)]
    /// </summary>
    [Column("target_loc")]
    public long? TargetLoc { get; set; }
    /// <summary>
    /// SKU
    /// [wms_out_order_detail.sku_id)]
    /// </summary>
    [Column("sku_id")]
    public long? SkuId { get; set; }
    /// <summary>
    /// SKU编号
    /// [wms_out_order_detail.sku_code)]
    /// </summary>
    [Column("sku_code")]
    public string SkuCode { get; set; }
    /// <summary>
    /// SKU位置
    /// [wms_out_order_detail.prod_index)]
    /// </summary>
    [Column("prod_index")]
    public int? ProdIndex { get; set; }
    /// <summary>
    /// 货物Id
    /// [wms_out_order_detail.product_id)]
    /// </summary>
    [Column("product_id")]
    public long? ProductId { get; set; }
    /// <summary>
    /// 获取编号
    /// [wms_out_order_detail.product_code)]
    /// </summary>
    [Column("product_code")]
    public string ProductCode { get; set; }
    /// <summary>
    /// 结束方式
    /// [wms_out_order_detail.finish_mode)]
    /// </summary>
    [Column("finish_mode")]
    public int? FinishMode { get; set; }
    /// <summary>
    /// 结束时间
    /// [wms_out_order_detail.finish_time)]
    /// </summary>
    [Column("finish_time")]
    public DateTime? FinishTime { get; set; }
    /// <summary>
    /// 创建时间
    /// [wms_out_order_detail.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wms_out_order_detail.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wms_out_order_detail.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
